package systems;

import entities.AdsenseAdv;
import models.AdsenseAdvModel;

public class AdsSystem {
	
	private static AdsenseAdv ads120x240 = null;
	
	private static AdsenseAdv ads160x600 = null;
	
	private static AdsenseAdv ads200x200 = null;
	
	private static AdsenseAdv ads234x60 = null;
	
	private static AdsenseAdv ads250x250 = null;
	
	private static AdsenseAdv ads300x250 = null;
	
	private static AdsenseAdv ads300x600 = null;
	
	private static AdsenseAdv ads336x280 = null;
	
	private static AdsenseAdv ads468x15 = null;
	
	private static AdsenseAdv ads468x60 = null;
	
	private static AdsenseAdv ads728x15 = null;
	
	private static AdsenseAdv ads728x90 = null;
	
	public static String getAds120x240() {
		if (ads120x240 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads120x240 = adsModel.get("120x240");
		}
		
		return ads120x240.getContent();
	}
	
	public static void setAds120x240(AdsenseAdv ads120x240) {
		AdsSystem.ads120x240 = ads120x240;
	}
	
	public static String getAds160x600() {
		if (ads160x600 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads160x600 = adsModel.get("160x600");
		}
		
		return ads160x600.getContent();
	}
	
	public static void setAds160x600(AdsenseAdv ads160x600) {
		AdsSystem.ads160x600 = ads160x600;
	}

	public static String getAds200x200() {
		if (ads200x200 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads200x200 = adsModel.get("200x200");
		}
		
		return ads200x200.getContent();
	}
	
	public static void setAds200x200(AdsenseAdv ads200x200) {
		AdsSystem.ads200x200 = ads200x200;
	}

	public static String getAds234x60() {
		if (ads234x60 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads234x60 = adsModel.get("234x60");
		}
		
		return ads234x60.getContent();
	}
	
	public static void setAds234x60(AdsenseAdv ads234x60) {
		AdsSystem.ads234x60 = ads234x60;
	}

	public static String getAds250x250() {
		if (ads250x250 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads250x250 = adsModel.get("250x250");
		}
		
		return ads250x250.getContent();
	}
	
	public static void setAds250x250(AdsenseAdv ads250x250) {
		AdsSystem.ads250x250 = ads250x250;
	}

	public static String getAds300x250() {
		if (ads300x250 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads300x250 = adsModel.get("300x250");
		}
		
		return ads300x250.getContent();
	}
	
	public static void setAds300x250(AdsenseAdv ads300x250) {
		AdsSystem.ads300x250 = ads300x250;
	}

	public static String getAds300x600() {
		if (ads300x600 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads300x600 = adsModel.get("300x600");
		}
		
		return ads300x600.getContent();
	}
	
	public static void setAds300x600(AdsenseAdv ads300x600) {
		AdsSystem.ads300x600 = ads300x600;
	}

	public static String getAds336x280() {
		if (ads336x280 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads336x280 = adsModel.get("336x280");
		}
		
		return ads336x280.getContent();
	}
	
	public static void setAds336x280(AdsenseAdv ads336x280) {
		AdsSystem.ads336x280 = ads336x280;
	}

	public static String getAds468x15() {
		if (ads468x15 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads468x15 = adsModel.get("468x15");
		}
		
		return ads468x15.getContent();
	}
	
	public static void setAds468x15(AdsenseAdv ads468x15) {
		AdsSystem.ads468x15 = ads468x15;
	}

	public static String getAds468x60() {
		if (ads468x60 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads468x60 = adsModel.get("468x60");
		}
		
		return ads468x60.getContent();
	}
	
	public static void setAds468x60(AdsenseAdv ads468x60) {
		AdsSystem.ads468x60 = ads468x60;
	}

	public static String getAds728x15() {
		if (ads728x15 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads728x15 = adsModel.get("728x15");
		}
		
		return ads728x15.getContent();
	}
	
	public static void setAds728x15(AdsenseAdv ads728x15) {
		AdsSystem.ads728x15 = ads728x15;
	}

	public static String getAds728x90() {
		if (ads728x90 == null) {
			AdsenseAdvModel adsModel = AdsenseAdvModel.getInstance();
			ads728x90 = adsModel.get("728x90");
		}
		
		return ads728x90.getContent();
	}

	public static void setAds728x90(AdsenseAdv ads728x90) {
		AdsSystem.ads728x90 = ads728x90;
	}
}
